package written.test;

import edu.princeton.cs.algs4.In;
import javafx.util.Pair;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;

/**
 * @Author: Dang Qi
 * @Date: 2021/4/10  18:35
 * @Description:
 */
public class Jingdong {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        Pair<Integer, Integer>[] pairs = new Pair[n];
        for (int i = 0; i < n ;i++){
            pairs[i] = new Pair<>(sc.nextInt(), sc.nextInt());
        }
        solve(pairs);

    }
    public static void solve( Pair<Integer, Integer>[] pairs){
        Map<String, Integer>  map = new HashMap<>();
        for(int i = 0; i < pairs.length-1; i++){
            for(int j = 1; j < pairs.length; j++){
                if(pairs[i].getKey()==pairs[j].getKey()) continue;
                double x = (pairs[j].getValue() - pairs[i].getValue()) *1.0 /
                        (pairs[i].getKey() - pairs[j].getKey());
                double y = pairs[i].getKey() * x + pairs[i].getValue();

                if(x>Math.floor(x)|| y > Math.floor(y)||x<0||y<0) continue;
                String key = ""+((int)x)+","+((int)y);
                Integer r = map.get(key);
                if(r==null) map.put(key, 1);
                else map.put(key, r+1);
            }
        }
        Map<Integer, Integer>  res = new HashMap<>();
        for (Map.Entry<String, Integer> e: map.entrySet()){
//            System.out.println(e.getKey()+" "+e.getValue());
            Integer r = res.get(e.getValue());
            if(r==null) res.put(e.getValue(), 1);
            else res.put(e.getValue(), r+1);
        }
        StringBuilder sb = new StringBuilder();
        for(int i = 2; i <= pairs.length; i++){
            int k = i * (i-1) / 2;
            if(res.containsKey(k)){
                sb.append(res.get(k)+" ");
            }else{
                sb.append(0+" ");
            }
        }
        System.out.println(sb.substring(0,sb.length()-1));
    }
}
